package way.learning.zz.event;


import way.learning.zz.DirectoryPoller;

abstract class EventExposingDirectoryPoller implements Event {

    final DirectoryPoller dp;

    EventExposingDirectoryPoller(DirectoryPoller directoryPoller) {
        dp = directoryPoller;
    }

    /**
     * Returns the DirectoryPoller instance which fired this way.learning.zz.event.
     *
     * 返回启动此事件的DirectoryPoller实例。
     * 
     */
    public DirectoryPoller getDirectoryPoller() {
        return dp;
    }

}
